//
//  ViewController.m
//  黑马行
//
//  Created by 宇宙执政 on 16/9/19.
//  Copyright © 2016年 yujianbinMAC. All rights reserved.
//

#import "ViewController.h"
#import <MAMapKit/MAMapKit.h>

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //初始化地图
    MAMapView *amap = [[MAMapView alloc] initWithFrame:self.view.bounds];
    
    //将地图加入跟视图
    [self.view addSubview:amap];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
